<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        /**
         * var、let、const
         */ 
        if(true){
            var a = 1
            let b = 2
            const c = 3 // 常量

            a = 4
            b = 5
            // c = 6
        }

        console.log(a)
        // console.log(b)
        // console.log(c)


        
    </script>
</head>
<body>
    
</body>
</html>